package cn.dong.cms.feign.fillback;

import cn.dong.cms.feign.OssService;
import cn.dong.api.domain.CommonResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class OssServiceImpl implements OssService {


    /**
     * 删除图片
     *
     * @param filePath 阿里存储空间的相对路径：文件夹+文件的路径
     * @return
     */
    @Override
    public CommonResult delFile(String filePath) {
        log.error("触发熔断");
        return CommonResult.error();
    }
}
